<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Cache-Control" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<meta http-equiv="X-UA-Compatible" content="E=edge;chrome=1" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<title>嘉华金融</title>
		<script type="text/javascript" src="<%=path%>/static/js/jquery-3.2.1.min.js"></script>
        <link rel="stylesheet" type="text/css" href="<%=path%>/static/css/reset.css">
	    <link rel="stylesheet" type="text/css" href="<%=path%>/static/css/weui.min.css">
	    <link rel="stylesheet" type="text/css" href="<%=path%>/static/css/index.css">
	    <style type="text/css">
	        .Top {
			    padding: 0.3rem 1.4rem;
			} 
	    .home-icons {
		    width: 3.5rem;
		    height: 3.5rem;
		}
	    </style>
    </head>
   <body>
   <div>
        <div class="header">
            <div><div class="back"></div></div>
            <div>个人资料</div>
            <div></div>
        </div>
        <div class="main">
            <div class="personal-wrap">
                <div class="weui-cells">
	                <div  class="weui-cell Top">
	                    <div class="weui-cell__hd loan-head userP-icon"></div>
	                        <div class="weui-cell__bd">
	                            <p>头像</p>
	                        </div>
	                        <div class="weui-cell__ft"><div class="weui-cell__hd home-icons" style="background:url('${buserInfo.headImgUrl}');background-size:100% auto"></div></div>
	                </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd loan-username userP-icon"></div>
                        <div class="weui-cell__bd">
                            <p>姓名</p>
                        </div>
                        <div class="weui-cell__ft">${buserInfo.name}</div>
                    </div>
                    <div class="weui-cell">
                    <div class="weui-cell__hd loan-userphone userP-icon"></div>
                        <div class="weui-cell__bd">
                            <p>手机号</p>
                        </div>
                        <div class="weui-cell__ft">${buserInfo.phone}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd loan-userId userP-icon"></div>
                        <div class="weui-cell__bd">
                            <p>身份证</p>
                        </div>
                        <div class="weui-cell__ft">${buserInfo.idNumber}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd loan-usercity userP-icon"></div>
                        <div class="weui-cell__bd">
                            <p>城市</p>
                        </div>
                        <div class="weui-cell__ft">${buserInfo.city}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd sms-icon userP-icon"></div>
                        <div class="weui-cell__bd">
                            <p>密码</p>
                        </div>
                        <div class="weui-cell__ft"><a class="modify-text" href="<%=path%>/member/updatePassword.html?phone=${buserInfo.phone}">修改</a></div>
                    </div>
                </div>    
            </div>
        </div>
    </div> 
 <script type="text/javascript">
     var path="<%=path%>"
	 $('.back').on('click', function () {
		 window.location=path+"/member/memberCenter.html";
	 });
 </script>   
</body>
</html>
